package com.OjSystem.system.service.userservice.impl;

import com.OjSystem.system.domain.user.DTO.UserListDTO;
import com.OjSystem.system.domain.user.User;
import com.OjSystem.system.domain.user.VO.UserListVO;
import com.OjSystem.system.mapper.usermapper.UserMapper;
import com.OjSystem.system.service.userservice.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IUserServiceImpl implements IUserService {

    @Autowired
    private UserMapper userMapper;

    /**
     * 获取用户列表
     * @param userListDTO
     * @return
     */
    @Override
    public List<User> getUserList(UserListDTO userListDTO) {
        return userMapper.getUserList(userListDTO);
    }
}
